/*
 * @Author: silence
 * @Date: 2023-07-14 15:54:49
 * @LastEditors: 
 * @LastEditTime: 2023-07-14 15:55:22
 * @Description: 
 */
import 'package:sil_utils_package/log/SilEntityLog.dart';

class PlantInfo {
  String? stored_total;
  String? use_electric_total;
  String? diesel_oil;
  String? forest;
  String? generation_total;
  String? create_time;
  String? co2;
  String? coal;
  String? moneyUnit;
  String? money_total;
  String? equipmentSelection;
  PlantInfo({
    this.stored_total,
    this.use_electric_total,
    this.diesel_oil,
    this.forest,
    this.generation_total,
    this.create_time,
    this.co2,
    this.coal,
    this.moneyUnit,
    this.money_total,
    this.equipmentSelection,
  });
  PlantInfo.fromJson(Map<String, dynamic> json) {
    stored_total = SilEntityLog.handleString(json, 'stored_total');
    use_electric_total = SilEntityLog.handleString(json, 'use_electric_total');
    diesel_oil = SilEntityLog.handleString(json, 'diesel_oil');
    forest = SilEntityLog.handleString(json, 'forest');
    generation_total = SilEntityLog.handleString(json, 'generation_total');
    create_time = SilEntityLog.handleString(json, 'create_time');
    co2 = SilEntityLog.handleString(json, 'co2');
    coal = SilEntityLog.handleString(json, 'coal');
    moneyUnit = SilEntityLog.handleString(json, 'moneyUnit');
    money_total = SilEntityLog.handleString(json, 'money_total');
    equipmentSelection = SilEntityLog.handleString(json, 'equipmentSelection');
  }
  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['stored_total'] = this.stored_total;
    data['use_electric_total'] = this.use_electric_total;
    data['diesel_oil'] = this.diesel_oil;
    data['forest'] = this.forest;
    data['generation_total'] = this.generation_total;
    data['create_time'] = this.create_time;
    data['co2'] = this.co2;
    data['coal'] = this.coal;
    data['moneyUnit'] = this.moneyUnit;
    data['money_total'] = this.money_total;
    data['equipmentSelection'] = this.equipmentSelection;
    return data;
  }
}
